package com.java.comprehensive.design.structural_model.decorator_pattern;

public class Client {
    public static void main(String[] args) {
        FriedRice friedRice = new FriedRice();
        System.out.println(friedRice.cost());
        System.out.println(friedRice.getDesc());
        System.out.println("===============================");
        Egg egg = new Egg(friedRice);
        System.out.println(egg.cost());
        System.out.println(egg.getDesc());
        System.out.println("===============================");
    }
}
